package com.bed.lovewithpatientbed.dao;

import com.bed.lovewithpatientbed.pojo.MalfunctionState;
import com.bed.lovewithpatientbed.pojo.MalfunctionStateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MalfunctionStateDao {
    long countByExample(MalfunctionStateExample example);

    int deleteByExample(MalfunctionStateExample example);

    int deleteByPrimaryKey(Integer malfunctionStateId);

    int insert(MalfunctionState record);

    int insertSelective(MalfunctionState record);

    List<MalfunctionState> selectByExample(MalfunctionStateExample example);

    MalfunctionState selectByPrimaryKey(Integer malfunctionStateId);

    int updateByExampleSelective(@Param("record") MalfunctionState record, @Param("example") MalfunctionStateExample example);

    int updateByExample(@Param("record") MalfunctionState record, @Param("example") MalfunctionStateExample example);

    int updateByPrimaryKeySelective(MalfunctionState record);

    int updateByPrimaryKey(MalfunctionState record);
}